<template>
    <el-form-item label="" :prop="`crea_type`" :rules="{required: true, message: '请选择', trigger: ['blur', 'change']}">
        <el-radio-group v-model="subFrom.crea_type" size="small" class="tk_radio_group">
            <el-radio :label="2" border >
                <div class="radio_text1">智能创建</div>
                <div class="radio_text2">生成多系列广告任务</div>
            </el-radio>
            <el-radio :label="1" border >
                <div class="radio_text1">常规创建</div>
                <div class="radio_text2">生成多广告任务</div>
            </el-radio>
        </el-radio-group>
    </el-form-item>
</template>

<script>
export default {
    props: ["subFrom"],
    components: {},
    name: "",
    data() {
        return {
            disabled:false
        };
    },
    created() {
        // this.subFrom.crea_type = window.sessionStorage.getItem('tkFormSeries') == 'new' ? 2:1
        // this.disabled = window.sessionStorage.getItem('tkFormSeries') == 'new' ? false : true
    },
    methods: {
        
    },
};
</script>


<style scoped>
/deep/ .tk_radio_group .el-radio{
    margin-right: 0;
    padding: 12px;
    height: auto;
    width: 250px;
    white-space: normal;
}
/deep/ .tk_radio_group .el-radio .el-radio__input{
    display: none;
}
/deep/ .tk_radio_group .el-radio .el-radio__label{
    padding-left: 0;
}
.radio_text1{
    line-height: 20px;
    font-size: 14px;
}
.radio_text2{
    font-size: 12px;
    color: #B4B7BD;
    line-height: 20px;
    margin-top: 4px;
}
</style>

